package com.summer.filesync.model.manager;

/** 目录统计 */
public class DirectoryStatistics {
  private String directoryPath;
  private long fileCount;
  private long subdirectoryCount;
  private long totalSize;
  private long largestFileSize;
  private String largestFileName;
  private double averageFileSize;
  private int depth;

  public DirectoryStatistics(String directoryPath) {
    this.directoryPath = directoryPath;
  }

  // Getters and Setters
  public String getDirectoryPath() {
    return directoryPath;
  }

  public void setDirectoryPath(String directoryPath) {
    this.directoryPath = directoryPath;
  }

  public long getFileCount() {
    return fileCount;
  }

  public void setFileCount(long fileCount) {
    this.fileCount = fileCount;
  }

  public long getSubdirectoryCount() {
    return subdirectoryCount;
  }

  public void setSubdirectoryCount(long subdirectoryCount) {
    this.subdirectoryCount = subdirectoryCount;
  }

  public long getTotalSize() {
    return totalSize;
  }

  public void setTotalSize(long totalSize) {
    this.totalSize = totalSize;
  }

  public long getLargestFileSize() {
    return largestFileSize;
  }

  public void setLargestFileSize(long largestFileSize) {
    this.largestFileSize = largestFileSize;
  }

  public String getLargestFileName() {
    return largestFileName;
  }

  public void setLargestFileName(String largestFileName) {
    this.largestFileName = largestFileName;
  }

  public double getAverageFileSize() {
    return averageFileSize;
  }

  public void setAverageFileSize(double averageFileSize) {
    this.averageFileSize = averageFileSize;
  }

  public int getDepth() {
    return depth;
  }

  public void setDepth(int depth) {
    this.depth = depth;
  }
}
